# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=wipe
pkgver=2.3.1
pkgrel=4
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
arch=('x86_64')
validpgpkeys=('2915EE18E6A7747A4194E174F1B4DF9E15741ECE')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
sha256sums=('463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0'
            'SKIP')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	export CPPFLAGS=
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make prefix="${pkgdir}"/usr mandir="${pkgdir}"/usr/share/man install
}
